package com.sg.service.biz.app.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.github.pagehelper.Page;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.base.app.req.*;
import com.sg.dto.biz.app.req.*;
import com.sg.dto.biz.app.res.*;
import com.sg.service.base.app.MOmsAchievementDockingService;
import com.sg.service.base.app.MOmsEvaluationObjectTargetCycleService;
import com.sg.service.base.app.MOmsExecuteCycleStageService;
import com.sg.service.biz.app.*;
import com.sg.common.exception.Assert;
import com.wicket.okrcomponent.integration.InterfaceModeService;
import com.wicket.okrcomponent.integration.UnstructuredDataService;
import com.wicket.okrcomponent.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class DashboardAchievementServiceImpl
        implements com.wicket.okrapp.biz.service.DashboardAchievementService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private MOmsAchievementDockingService mOmsAchievementDockingService;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private DashboardTargetContentService dashboardTargetContentService;
    @Resource
    private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
    @Resource
    private NbDashboardAchievement nbDashboardAchievement;
    @Resource
    private TargetContentService targetContentService;
    @Resource
    private TargetCalcService targetCalcService;
    @Resource
    private MOmsExecuteCycleStageService mOmsExecuteCycleStageService;
    @Resource
    private UnstructuredDataService unstructuredDataService;
    @Resource
    private UnstructuredDataService unstructuredDataService;
    @Resource
    private TargetCycleService targetCycleService;

    /**
     * D3查询目标内容成果关系By一级指标列表(公共)[9348]
     * gen by moon at 5/22/2024, 2:40:03 PM
     */
    @Trace(operationName = "D3查询目标内容成果关系By一级指标列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryTargetContAchievementDockByFirstObjListComRespDto queryTargetContAchievementDockByFirstObjListCom(QueryTargetContAchievementDockByFirstObjListComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//步骤0: 3-10-08查询目标内容成果关系By一级指标列表 - queryTargetContAchievementDockByFirstObjList
        List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
        QueryTargetContAchievementDockByFirstObjListReq queryTargetContAchievementDockByFirstObjListReq = new QueryTargetContAchievementDockByFirstObjListReq();
        if (reqDto != null) {
            queryTargetContAchievementDockByFirstObjListReq.setAchievementDockingList(reqDto.getAchievementDockingList());//list-field-assign//sourceId:1709521_1
            queryTargetContAchievementDockByFirstObjListReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1710089_1
            queryTargetContAchievementDockByFirstObjListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1709522_1
            queryTargetContAchievementDockByFirstObjListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1709523_1
            queryTargetContAchievementDockByFirstObjListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1709524_1
        }

        /*3-10-08查询目标内容成果关系By一级指标列表[9349]   */
        Assert.isNull(queryTargetContAchievementDockByFirstObjListReq.getSpaceId(), "D3查询目标内容成果关系By一级指标列表(公共)-3-10-08查询目标内容成果关系By一级指标列表-创建于空间ID不能为空", false);
        listOmsAchievementDocking = mOmsAchievementDockingService.queryTargetContAchievementDockByFirstObjList(queryTargetContAchievementDockByFirstObjListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsAchievementDocking_1 = listOmsAchievementDocking;

        QueryTargetContAchievementDockByFirstObjListComRespDto retData = new QueryTargetContAchievementDockByFirstObjListComRespDto();
        if (listOmsAchievementDocking_1 != null && !CollectionUtil.isEmpty(listOmsAchievementDocking_1) && listOmsAchievementDocking_1 != null && !CollectionUtil.isEmpty(listOmsAchievementDocking_1)) {
            retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> item.getRootObjectiveId())
                    .collect(Collectors.toList()));/*list-to-strings*///sourceId:1709530_1
        }


        return retData;
    }

    /**
     * D3查询目标内容成果关系列表(公共)[9336]
     * gen by moon at 8/8/2024, 10:02:51 PM
     */
    @Trace(operationName = "D3查询目标内容成果关系列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryTargetContAchievementDockListComRespDto queryTargetContAchievementDockListCom(QueryTargetContAchievementDockListComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//步骤0: 3-10-08查询目标内容成果关系列表 - queryTargetContAchievementDockList
        List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
        QueryTargetContAchievementDockListReq queryTargetContAchievementDockListReq = new QueryTargetContAchievementDockListReq();
        if (reqDto != null) {
            queryTargetContAchievementDockListReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1707636_1
            queryTargetContAchievementDockListReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1707637_1
            queryTargetContAchievementDockListReq.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1707638_1
            queryTargetContAchievementDockListReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1962378_1
            queryTargetContAchievementDockListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1707639_1
            queryTargetContAchievementDockListReq.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1707640_1
            queryTargetContAchievementDockListReq.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1707641_1
            queryTargetContAchievementDockListReq.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1707642_1
            queryTargetContAchievementDockListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1707643_1
            queryTargetContAchievementDockListReq.setAchievementBelongBodyTypeCode(reqDto.getAchievementBelongBodyTypeCode());//SimpleFieldAssign//sourceId:1707644_1
            queryTargetContAchievementDockListReq.setAchievementBelongBodyId(reqDto.getAchievementBelongBodyId());//SimpleFieldAssign//sourceId:1707645_1
            queryTargetContAchievementDockListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1707646_1
            queryTargetContAchievementDockListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1962374_1
            queryTargetContAchievementDockListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1707647_1
        }

        /*3-10-08查询目标内容成果关系列表[9337]   */
        Assert.isNull(queryTargetContAchievementDockListReq.getSpaceId(), "D3查询目标内容成果关系列表(公共)-3-10-08查询目标内容成果关系列表-创建于空间ID不能为空", false);
        listOmsAchievementDocking = mOmsAchievementDockingService.queryTargetContAchievementDockList(queryTargetContAchievementDockListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsAchievementDocking_1 = listOmsAchievementDocking;

        QueryTargetContAchievementDockListComRespDto retData = new QueryTargetContAchievementDockListComRespDto();
        retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1707661_1


        return retData;
    }

    /**
     * D3查询评价模板下一级目标分类列表(公共)[9340]
     * gen by moon at 4/7/2024, 9:39:05 AM
     */
    @Trace(operationName = "D3查询评价模板下一级目标分类列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryEvaTempRootCategoryListComRespDto queryEvaTempRootCategoryListCom(QueryEvaTempRootCategoryListComReqDto reqDto) {


        BatchQueryEvaObjTargetCycleByContIdComRespDto batchQueryEvaObjTargetCycleByContIdComRespDto_1 = null;
//virtualUsage D3查成果关系一级目标分类列表(公共)  66376
        QueryTargetContAchievementDockListComRespDto queryTargetContAchievementDockListComRespDto = null;
        QueryTargetContAchievementDockListComReqDto queryTargetContAchievementDockListComReqDto = new QueryTargetContAchievementDockListComReqDto();
        queryTargetContAchievementDockListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1708836_1_66376
        if (reqDto != null) {
            queryTargetContAchievementDockListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1708833_1_66376
            queryTargetContAchievementDockListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1708837_1_66376
        }

        /*D3查成果关系一级目标分类列表(公共)[9336]   */
        Assert.isNull(queryTargetContAchievementDockListComReqDto.getEvaluationTemplateId(), "D3查询评价模板下一级目标分类列表(公共)-D3查成果关系一级目标分类列表(公共)-归属评价模板ID不能为空", false);
        Assert.isNull(queryTargetContAchievementDockListComReqDto.getSpaceId(), "D3查询评价模板下一级目标分类列表(公共)-D3查成果关系一级目标分类列表(公共)-创建于空间ID不能为空", false);
        Assert.isNull(queryTargetContAchievementDockListComReqDto.getSubjectLifeCycle(), "D3查询评价模板下一级目标分类列表(公共)-D3查成果关系一级目标分类列表(公共)-主体生命周期不能为空", false);
        queryTargetContAchievementDockListComRespDto = queryTargetContAchievementDockListCom(queryTargetContAchievementDockListComReqDto)/*vcase invoke 同服务,同domain*/;


        if ((queryTargetContAchievementDockListComRespDto != null && queryTargetContAchievementDockListComRespDto.getAchievementDockingList() != null && queryTargetContAchievementDockListComRespDto.getAchievementDockingList().size() > 0)) {
            //if(D3查成果关系一级目标分类列表(公共).对接成果关系列表数据集条数 大于 0)  66377

            ImplementDataSetDuplicateRemovalComRespDto implementDataSetDuplicateRemovalComRespDto = null;
            if (queryTargetContAchievementDockListComRespDto != null) {
                ImplementDataSetDuplicateRemovalComReqDto implementDataSetDuplicateRemovalComReqDto = new ImplementDataSetDuplicateRemovalComReqDto();
                if (queryTargetContAchievementDockListComRespDto != null && queryTargetContAchievementDockListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryTargetContAchievementDockListComRespDto.getAchievementDockingList())) {
                    implementDataSetDuplicateRemovalComReqDto.setDataSetDuplicateRemovalList(queryTargetContAchievementDockListComRespDto.getAchievementDockingList().stream().map(item -> item.getRootTargetCategoryId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1709055_1_66378
                }

                /*D2一级目标分类数据集去重(公共)[5138]   */

                implementDataSetDuplicateRemovalComRespDto = interfaceModeService.implementDataSetDuplicateRemovalCom(implementDataSetDuplicateRemovalComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementTurnSingleFieldParentSubMidCycleTypeComRespDto implementTurnSingleFieldParentSubMidCycleTypeComRespDto = null;
            ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto implementTurnSingleFieldParentSubMidCycleTypeComReqDto = new ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto();
            if (reqDto != null) {
                implementTurnSingleFieldParentSubMidCycleTypeComReqDto.setCycleId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1709062_1_66380
                implementTurnSingleFieldParentSubMidCycleTypeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1709057_1_66380
            }

            /*D3执行转单字段父子中周期类型(公共)[9319]   */
            Assert.isNull(implementTurnSingleFieldParentSubMidCycleTypeComReqDto.getCycleId(), "D3查询评价模板下一级目标分类列表(公共)-D3执行转单字段父子中周期类型(公共)-周期ID不能为空", false);
            Assert.isNull(implementTurnSingleFieldParentSubMidCycleTypeComReqDto.getParentSubMidCycleType(), "D3查询评价模板下一级目标分类列表(公共)-D3执行转单字段父子中周期类型(公共)-父子中周期类型不能为空", false);
            implementTurnSingleFieldParentSubMidCycleTypeComRespDto = dashboardTargetContentService.implementTurnSingleFieldParentSubMidCycleTypeCom(implementTurnSingleFieldParentSubMidCycleTypeComReqDto)/*vcase invoke isSameApp*/;


            BatchQueryEvaObjTargetCycleByContIdComRespDto batchQueryEvaObjTargetCycleByContIdComRespDto = null;
            if (implementDataSetDuplicateRemovalComRespDto != null && implementTurnSingleFieldParentSubMidCycleTypeComRespDto != null) {
                BatchQueryEvaObjTargetCycleByContIdComReqDto batchQueryEvaObjTargetCycleByContIdComReqDto = new BatchQueryEvaObjTargetCycleByContIdComReqDto();
                if (implementDataSetDuplicateRemovalComRespDto != null) {
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaObjTargetCycleList(implementDataSetDuplicateRemovalComRespDto.getDataSetDuplicateRemovalList());//list-field-assign//sourceId:1709064_1_66381
                }
                if (reqDto != null) {
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1709085_1_66381
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1709065_1_66381
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1709070_1_66381
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1709071_1_66381
                }
                if (implementTurnSingleFieldParentSubMidCycleTypeComRespDto != null) {
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setCycleId(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getPeriodId());//SimpleFieldAssign//sourceId:1709066_1_66381
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setIsParentCycle(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1709067_1_66381
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setIsMetaphase(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1709068_1_66381
                    batchQueryEvaObjTargetCycleByContIdComReqDto.setIsSubCycle(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1709069_1_66381
                }

                /*D3批量查询被评对象目标周期By内容ID(公共)[9051]   */
                Assert.isNull(batchQueryEvaObjTargetCycleByContIdComReqDto.getEvaObjTypeCode(), "D3查询评价模板下一级目标分类列表(公共)-D3批量查询被评对象目标周期By内容ID(公共)-被评对象类型编码不能为空", false);
                Assert.isNull(batchQueryEvaObjTargetCycleByContIdComReqDto.getEvaluationTemplateId(), "D3查询评价模板下一级目标分类列表(公共)-D3批量查询被评对象目标周期By内容ID(公共)-冗余评价模板ID不能为空", false);
                Assert.isNull(batchQueryEvaObjTargetCycleByContIdComReqDto.getSpaceId(), "D3查询评价模板下一级目标分类列表(公共)-D3批量查询被评对象目标周期By内容ID(公共)-创建于空间ID不能为空", false);
                batchQueryEvaObjTargetCycleByContIdComRespDto = dashboardTargetContentService.batchQueryEvaObjTargetCycleByContIdCom(batchQueryEvaObjTargetCycleByContIdComReqDto)/*vcase invoke isSameApp*/;


                batchQueryEvaObjTargetCycleByContIdComRespDto_1 = batchQueryEvaObjTargetCycleByContIdComRespDto;
            }
        }
        QueryEvaTempRootCategoryListComRespDto retData = new QueryEvaTempRootCategoryListComRespDto();
        if (batchQueryEvaObjTargetCycleByContIdComRespDto_1 != null && batchQueryEvaObjTargetCycleByContIdComRespDto_1.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(batchQueryEvaObjTargetCycleByContIdComRespDto_1.getEvaObjTargetCycleList())) {
            retData.setEvaObjTargetCycleList(batchQueryEvaObjTargetCycleByContIdComRespDto_1.getEvaObjTargetCycleList().stream().map(item -> item.getEvaObjTargetCycleId())
                    .collect(Collectors.toList()));/*list-to-strings*///sourceId:1709096_1
        }


        return retData;
    }

    /**
     * D3查询对接成果关系（分页）列表(公共)[9919]
     * gen by moon at 7/3/2024, 8:48:40 PM
     */
    @Trace(operationName = "D3查询对接成果关系（分页）列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryAchievementDockPagingListComRespDto queryAchievementDockPagingListCom(QueryAchievementDockPagingListComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//步骤0: 3-10-08查询对接成果关系（分页）列表 - queryAchievementDockPagingList
        List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
        QueryAchievementDockPagingListReq queryAchievementDockPagingListReq = new QueryAchievementDockPagingListReq();
        if (reqDto != null) {
            queryAchievementDockPagingListReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1916961_1
            queryAchievementDockPagingListReq.setAchievementTypeNumber(reqDto.getAchievementTypeNumber());//SimpleFieldAssign//sourceId:1916962_1
            queryAchievementDockPagingListReq.setAchievementTypeName(reqDto.getAchievementTypeName());//SimpleFieldAssign//sourceId:1916963_1
            queryAchievementDockPagingListReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1916964_1
            queryAchievementDockPagingListReq.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1916965_1
            queryAchievementDockPagingListReq.setAchievementCategoryName(reqDto.getAchievementCategoryName());//SimpleFieldAssign//sourceId:1916966_1
            queryAchievementDockPagingListReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1916967_1
            queryAchievementDockPagingListReq.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1916968_1
            queryAchievementDockPagingListReq.setAchievementGradeName(reqDto.getAchievementGradeName());//SimpleFieldAssign//sourceId:1916969_1
            queryAchievementDockPagingListReq.setAwardedTime(reqDto.getAwardedTime());//SimpleFieldAssign//sourceId:1916970_1
            queryAchievementDockPagingListReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1916971_1
            queryAchievementDockPagingListReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1916972_1
            queryAchievementDockPagingListReq.setCopyrightObjectName(reqDto.getCopyrightObjectName());//SimpleFieldAssign//sourceId:1916973_1
            queryAchievementDockPagingListReq.setDutyDeptId(reqDto.getDutyDeptId());//SimpleFieldAssign//sourceId:1916974_1
            queryAchievementDockPagingListReq.setDutyDeptName(reqDto.getDutyDeptName());//SimpleFieldAssign//sourceId:1916975_1
            queryAchievementDockPagingListReq.setUpdateCycleId(reqDto.getUpdateCycleId());//SimpleFieldAssign//sourceId:1916976_1
            queryAchievementDockPagingListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1916977_1
            queryAchievementDockPagingListReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1916978_1
            queryAchievementDockPagingListReq.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1916979_1
            queryAchievementDockPagingListReq.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1916980_1
            queryAchievementDockPagingListReq.setTargetCycleContentCode(reqDto.getTargetCycleContentCode());//SimpleFieldAssign//sourceId:1916981_1
            queryAchievementDockPagingListReq.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1916982_1
            queryAchievementDockPagingListReq.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1916983_1
            queryAchievementDockPagingListReq.setAchievementBelongBodyTypeCode(reqDto.getAchievementBelongBodyTypeCode());//SimpleFieldAssign//sourceId:1916984_1
            queryAchievementDockPagingListReq.setAchievementBelongBodyId(reqDto.getAchievementBelongBodyId());//SimpleFieldAssign//sourceId:1916985_1
            queryAchievementDockPagingListReq.setEvaPortraitTargetSubCycleId(reqDto.getEvaPortraitTargetSubCycleId());//SimpleFieldAssign//sourceId:1916986_1
            queryAchievementDockPagingListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1916987_1
            queryAchievementDockPagingListReq.setEvaluationSubjectId(reqDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1916988_1
            queryAchievementDockPagingListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1916989_1
            queryAchievementDockPagingListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1916990_1
        }

        /*3-10-08查询对接成果关系（分页）列表[9920]   */

        listOmsAchievementDocking = mOmsAchievementDockingService.queryAchievementDockPagingList(queryAchievementDockPagingListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsAchievementDocking_1 = listOmsAchievementDocking;

        QueryAchievementDockPagingListComRespDto retData = new QueryAchievementDockPagingListComRespDto();
        retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1917035_1


        return retData;
    }

    /**
     * D3批量查询对接成果By子周期周期ID列表（分页）[9921]
     * gen by moon at 7/3/2024, 8:48:54 PM
     */
    @Trace(operationName = "D3批量查询对接成果By子周期周期ID列表（分页）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryDockAchievementBySubCyclePagingListByIdsComRespDto batchQueryDockAchievementBySubCyclePagingListByIdsCom(BatchQueryDockAchievementBySubCyclePagingListByIdsComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//步骤0: 3-10-08批量查询对接成果By子周期周期ID列表（分页） - batchQueryDockAchievementBySubCyclePagingListByIds
        List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
        BatchQueryDockAchievementBySubCyclePagingListByIdsReq batchQueryDockAchievementBySubCyclePagingListByIdsReq = new BatchQueryDockAchievementBySubCyclePagingListByIdsReq();
        if (reqDto != null) {
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setAchievementDockingList(reqDto.getAchievementDockingList());//list-field-assign//sourceId:1917070_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1917071_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1917072_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1917887_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1917073_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setTargetCycleContentCode(reqDto.getTargetCycleContentCode());//SimpleFieldAssign//sourceId:1917074_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1917075_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1917076_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setAchievementBelongBodyId(reqDto.getAchievementBelongBodyId());//SimpleFieldAssign//sourceId:1917892_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setEvaPortraitTargetSubCycleId(reqDto.getEvaPortraitTargetSubCycleId());//SimpleFieldAssign//sourceId:1917893_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917077_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1917078_1
            batchQueryDockAchievementBySubCyclePagingListByIdsReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1917079_1
        }

        /*3-10-08批量查询对接成果By子周期周期ID列表（分页）[9922]   */

        listOmsAchievementDocking = mOmsAchievementDockingService.batchQueryDockAchievementBySubCyclePagingListByIds(batchQueryDockAchievementBySubCyclePagingListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsAchievementDocking_1 = listOmsAchievementDocking;

        BatchQueryDockAchievementBySubCyclePagingListByIdsComRespDto retData = new BatchQueryDockAchievementBySubCyclePagingListByIdsComRespDto();
        retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1917091_1


        return retData;
    }

    /**
     * D3批量查询对接成果By所属主体列表(分页)[9923]
     * gen by moon at 7/3/2024, 8:49:07 PM
     */
    @Trace(operationName = "D3批量查询对接成果By所属主体列表(分页)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto batchQueryAchievementDockByBelongBodyPagingListByIdsCom(BatchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//步骤0: 3-10-08批量查询对接成果By所属主体列表(分页） - batchQueryAchievementDockByBelongBodyPagingListByIds
        List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
        BatchQueryAchievementDockByBelongBodyPagingListByIdsReq batchQueryAchievementDockByBelongBodyPagingListByIdsReq = new BatchQueryAchievementDockByBelongBodyPagingListByIdsReq();
        if (reqDto != null) {
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setAchievementDockingList(reqDto.getAchievementDockingList());//list-field-assign//sourceId:1917364_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1917365_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setAchievementCategoryId(reqDto.getAchievementCategoryId());//SimpleFieldAssign//sourceId:1917366_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setAchievementCategoryNumber(reqDto.getAchievementCategoryNumber());//SimpleFieldAssign//sourceId:1917367_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1917368_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setAchievementGradeNumber(reqDto.getAchievementGradeNumber());//SimpleFieldAssign//sourceId:1917369_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievement());//SimpleFieldAssign//sourceId:1917370_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setTargetCycleContentCode(reqDto.getTargetCycleContentCode());//SimpleFieldAssign//sourceId:1917371_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1917372_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1917373_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917374_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1917375_1
            batchQueryAchievementDockByBelongBodyPagingListByIdsReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1917376_1
        }

        /*3-10-08批量查询对接成果By所属主体列表(分页）[9924]   */

        listOmsAchievementDocking = mOmsAchievementDockingService.batchQueryAchievementDockByBelongBodyPagingListByIds(batchQueryAchievementDockByBelongBodyPagingListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsAchievementDocking_1 = listOmsAchievementDocking;

        BatchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto retData = new BatchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto();
        retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1917391_1


        return retData;
    }

    /**
     * D3批量查询对接成果By评价画像根节点列表(分页)[9925]
     * gen by moon at 7/3/2024, 8:49:21 PM
     */
    @Trace(operationName = "D3批量查询对接成果By评价画像根节点列表(分页)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsComRespDto batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsCom(BatchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//步骤0: 3-10-08批量查询对接成果By评价画像根节点列表（分页） - batchQueryDockAchievementByEvaPortraitSubRootPagingListByIds
        List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
        BatchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq = new BatchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq();
        if (reqDto != null) {
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setAchievementDockingList(reqDto.getAchievementDockingList());//list-field-assign//sourceId:1917640_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1917641_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1917905_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setTargetCycleContentCode(reqDto.getTargetCycleContentCode());//SimpleFieldAssign//sourceId:1917642_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setRootObjectiveId(reqDto.getRootObjectiveId());//SimpleFieldAssign//sourceId:1917643_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setRootTargetCategoryId(reqDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:1917644_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917645_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1917646_1
            batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1917647_1
        }

        /*3-10-08批量查询对接成果By评价画像根节点列表（分页）[9926]   */

        listOmsAchievementDocking = mOmsAchievementDockingService.batchQueryDockAchievementByEvaPortraitSubRootPagingListByIds(batchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsAchievementDocking_1 = listOmsAchievementDocking;

        BatchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsComRespDto retData = new BatchQueryDockAchievementByEvaPortraitSubRootPagingListByIdsComRespDto();
        retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1917659_1


        return retData;
    }

    /**
     * D3查询标志性成果明细列表(公共)[9927]
     * gen by moon at 7/4/2024, 12:48:26 AM
     */
    @Trace(operationName = "D3查询标志性成果明细列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryIconicAchievementsDetailsListComRespDto queryIconicAchievementsDetailsListCom(QueryIconicAchievementsDetailsListComReqDto reqDto) {


        ImplementEightReceivingFieldRespDto receptionServiceRes_1 = null;

        // TODO: 2023/11/13 手写代码
        Page<?> page = null;
        if ((reqDto != null && reqDto.getDashboradCoreTypeCode() != null && reqDto.getDashboradCoreTypeCode().equals("DASHBOARD_ORG"))) {
            //if(D3查询标志性成果明细列表(公共).大屏主体类型编码 等于 大屏归属组织)  71242

            QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto = null;
            QueryTargetContetCycleDetailComReqDto queryTargetContetCycleDetailComReqDto = new QueryTargetContetCycleDetailComReqDto();
            queryTargetContetCycleDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1919502_1_71293
            queryTargetContetCycleDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1919503_1_71293
            if (reqDto != null) {
                queryTargetContetCycleDetailComReqDto.setEvaObjTargetCycleId(reqDto.getDashboradCoreId());//SimpleFieldAssign//sourceId:1919500_1_71293
                queryTargetContetCycleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1919501_1_71293
            }

            /*D3查询目标周期开始与结束时间(公共)[9284]   */
            Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaObjTargetCycleId(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-被评对象目标周期ID不能为空", false);
            Assert.isNull(queryTargetContetCycleDetailComReqDto.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-冗余评价模板ID不能为空", false);
            Assert.isNull(queryTargetContetCycleDetailComReqDto.getSubjectLifeCycle(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-主体生命周期不能为空", false);
            Assert.isNull(queryTargetContetCycleDetailComReqDto.getSpaceId(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-创建于空间ID不能为空", false);
            queryTargetContetCycleDetailComRespDto = targetCalcService.queryTargetContetCycleDetailCom(queryTargetContetCycleDetailComReqDto)/*vcase invoke isSameApp*/;


            if ((reqDto != null && reqDto.getParentSubMidCycleType() != null && reqDto.getParentSubMidCycleType().equals("SUB_CYCLE"))) {
                //if(D3查询标志性成果明细列表(公共).父子中周期类型 等于 子周期)  71245


                // TODO: 2022/9/9  晓东，分页改造
                page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
                QueryAchievementDockPagingListComRespDto queryAchievementDockPagingListComRespDto = null;
                if (queryTargetContetCycleDetailComRespDto != null) {
                    QueryAchievementDockPagingListComReqDto queryAchievementDockPagingListComReqDto = new QueryAchievementDockPagingListComReqDto();
                    queryAchievementDockPagingListComReqDto.setIsSymbolicAchievement("TRUE");//sourceId:1917875_1_71249
                    queryAchievementDockPagingListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1917879_1_71249
                    queryAchievementDockPagingListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1917880_1_71249
                    if (reqDto != null) {
                        queryAchievementDockPagingListComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1917873_1_71249
                        queryAchievementDockPagingListComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1917874_1_71249
                        queryAchievementDockPagingListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917878_1_71249
                    }
                    if (queryTargetContetCycleDetailComRespDto != null) {
                        queryAchievementDockPagingListComReqDto.setCycleId(queryTargetContetCycleDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1917883_1_71249
                        queryAchievementDockPagingListComReqDto.setTargetCycleContentCode(queryTargetContetCycleDetailComRespDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1917884_1_71249
                    }

                    /*D3查询目标内容对接成果关系列表（分页）[9919]   */
                    Assert.isNull(queryAchievementDockPagingListComReqDto.getCycleId(), "D3查询标志性成果明细列表(公共)-D3查询目标内容对接成果关系列表（分页）-归属子周期周期ID不能为空", false);
                    Assert.isNull(queryAchievementDockPagingListComReqDto.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3查询目标内容对接成果关系列表（分页）-归属评价模板ID不能为空", false);
                    Assert.isNull(queryAchievementDockPagingListComReqDto.getIsSymbolicAchievement(), "D3查询标志性成果明细列表(公共)-D3查询目标内容对接成果关系列表（分页）-是否标志性成果不能为空", false);
                    Assert.isNull(queryAchievementDockPagingListComReqDto.getSubjectLifeCycle(), "D3查询标志性成果明细列表(公共)-D3查询目标内容对接成果关系列表（分页）-主体生命周期不能为空", false);
                    Assert.isNull(queryAchievementDockPagingListComReqDto.getSpaceId(), "D3查询标志性成果明细列表(公共)-D3查询目标内容对接成果关系列表（分页）-创建于空间ID不能为空", false);
                    queryAchievementDockPagingListComRespDto = queryAchievementDockPagingListCom(queryAchievementDockPagingListComReqDto)/*vcase invoke 同服务,同domain*/;


                }
//ModelCode: receptionService
                ImplementEightReceivingFieldRespDto receptionServiceRes = null;
                if (queryAchievementDockPagingListComRespDto != null) {
                    ImplementEightReceivingFieldReqDto receptionServiceReq = new ImplementEightReceivingFieldReqDto();
                    if (queryAchievementDockPagingListComRespDto != null && queryAchievementDockPagingListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryAchievementDockPagingListComRespDto.getAchievementDockingList())) {
                        receptionServiceReq.setAchievementDockingList(queryAchievementDockPagingListComRespDto.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1918297_1_71256
                    }

                    /*M3接收对接成果关系数据集出参[8691]  用于特殊方法接收上游入参。 */

                    receptionServiceRes = nbDashboardAchievement.implementEightReceivingField(receptionServiceReq);


                    receptionServiceRes_1 = receptionServiceRes;
                }
            } else if ((reqDto != null && reqDto.getParentSubMidCycleType() != null && reqDto.getParentSubMidCycleType().equals("PARENT_CYCLE") || reqDto != null && reqDto.getParentSubMidCycleType() != null && reqDto.getParentSubMidCycleType().equals("MID_CYCLE"))) {
                //elseif((D3查询标志性成果明细列表(公共).父子中周期类型 等于 父周期 or D3查询标志性成果明细列表(公共).父子中周期类型 等于 中期))  71246

                QueryTargetContentSubCycleListComRespDto queryTargetContentSubCycleListComRespDto = null;
                if (queryTargetContetCycleDetailComRespDto != null) {
                    QueryTargetContentSubCycleListComReqDto queryTargetContentSubCycleListComReqDto = new QueryTargetContentSubCycleListComReqDto();
                    if (queryTargetContetCycleDetailComRespDto != null) {
                        queryTargetContentSubCycleListComReqDto.setEvaObjEntityId(queryTargetContetCycleDetailComRespDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1917825_1_71250
                        queryTargetContentSubCycleListComReqDto.setEvaObjTypeCode(queryTargetContetCycleDetailComRespDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1917826_1_71250
                        queryTargetContentSubCycleListComReqDto.setTargetCycleContentTypeCode(queryTargetContetCycleDetailComRespDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1917831_1_71250
                        queryTargetContentSubCycleListComReqDto.setTargetCycleContentId(queryTargetContetCycleDetailComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1917827_1_71250
                        queryTargetContentSubCycleListComReqDto.setCycleStartTime(queryTargetContetCycleDetailComRespDto.getCycleStartTime());//SimpleFieldAssign//sourceId:1917828_1_71250
                        queryTargetContentSubCycleListComReqDto.setCycleEndTime(queryTargetContetCycleDetailComRespDto.getCycleEndTime());//SimpleFieldAssign//sourceId:1917829_1_71250
                    }
                    if (reqDto != null) {
                        queryTargetContentSubCycleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917830_1_71250
                    }

                    /*D3查询目标内容子周期列表(公共)[9280]   */
                    Assert.isNull(queryTargetContentSubCycleListComReqDto.getEvaObjTypeCode(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-被评对象类型编码不能为空", false);
                    Assert.isNull(queryTargetContentSubCycleListComReqDto.getCycleStartTime(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-目标计划开始时间不能为空", false);
                    Assert.isNull(queryTargetContentSubCycleListComReqDto.getCycleEndTime(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-目标计划结束时间不能为空", false);
                    Assert.isNull(queryTargetContentSubCycleListComReqDto.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-冗余评价模板ID不能为空", false);
                    queryTargetContentSubCycleListComRespDto = targetContentService.queryTargetContentSubCycleListCom(queryTargetContentSubCycleListComReqDto)/*vcase invoke isSameApp*/;


                }

                // TODO: 2022/9/9  晓东，分页改造
                page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
                BatchQueryDockAchievementBySubCyclePagingListByIdsComRespDto batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto = null;
                if (queryTargetContentSubCycleListComRespDto != null && queryTargetContetCycleDetailComRespDto != null) {
                    BatchQueryDockAchievementBySubCyclePagingListByIdsComReqDto batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto = new BatchQueryDockAchievementBySubCyclePagingListByIdsComReqDto();
                    batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setIsSymbolicAchievement("TRUE");//sourceId:1917793_1_71251
                    batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1917798_1_71251
                    batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1917799_1_71251
                    if (queryTargetContentSubCycleListComRespDto != null && queryTargetContentSubCycleListComRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryTargetContentSubCycleListComRespDto.getEvaObjTargetCycleList())) {
                        batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setAchievementDockingList(queryTargetContentSubCycleListComRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getCycleId())
                                .collect(Collectors.toList()));/*list-to-strings*///sourceId:1917790_1_71251
                    }
                    if (reqDto != null) {
                        batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1917791_1_71251
                        batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1917889_1_71251
                        batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917797_1_71251
                    }
                    if (queryTargetContetCycleDetailComRespDto != null) {
                        batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.setTargetCycleContentCode(queryTargetContetCycleDetailComRespDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1917794_1_71251
                    }

                    /*D3批量查询对接成果By子周期周期ID列表（分页）[9921]   */
                    Assert.isNull(batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.getTargetCycleContentCode(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By子周期周期ID列表（分页）-归属目标内容标识不能为空", false);
                    Assert.isNull(batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By子周期周期ID列表（分页）-归属评价模板ID不能为空", false);
                    Assert.isNull(batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.getIsSymbolicAchievement(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By子周期周期ID列表（分页）-是否标志性成果不能为空", false);
                    Assert.isNull(batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.getSubjectLifeCycle(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By子周期周期ID列表（分页）-主体生命周期不能为空", false);
                    Assert.isNull(batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto.getSpaceId(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By子周期周期ID列表（分页）-创建于空间ID不能为空", false);
                    batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto = batchQueryDockAchievementBySubCyclePagingListByIdsCom(batchQueryDockAchievementBySubCyclePagingListByIdsComReqDto)/*vcase invoke 同服务,同domain*/;


                }
//ModelCode: receptionService
                ImplementEightReceivingFieldRespDto receptionServiceRes_2 = null;
                if (batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto != null) {
                    ImplementEightReceivingFieldReqDto receptionServiceReq_1 = new ImplementEightReceivingFieldReqDto();
                    if (batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto != null && batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto.getAchievementDockingList())) {
                        receptionServiceReq_1.setAchievementDockingList(batchQueryDockAchievementBySubCyclePagingListByIdsComRespDto.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1918297_1_71257
                    }

                    /*M3接收对接成果关系数据集出参[8691]  用于特殊方法接收上游入参。 */

                    receptionServiceRes_2 = nbDashboardAchievement.implementEightReceivingField(receptionServiceReq_1);


                    receptionServiceRes_1 = receptionServiceRes_2;
                }
            }
        } else if ((reqDto != null && reqDto.getDashboradCoreTypeCode() != null && reqDto.getDashboradCoreTypeCode().equals("DASHBOARD_PRIMARY_DEPT"))) {
            //elseif(D3查询标志性成果明细列表(公共).大屏主体类型编码 等于 大屏归属中层部门)  71291

            QueryTargetContetCycleDetailComRespDto queryTargetContetCycleDetailComRespDto_2 = null;
            QueryTargetContetCycleDetailComReqDto queryTargetContetCycleDetailComReqDto_1 = new QueryTargetContetCycleDetailComReqDto();
            queryTargetContetCycleDetailComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1919502_1_71294
            queryTargetContetCycleDetailComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1919503_1_71294
            if (reqDto != null) {
                queryTargetContetCycleDetailComReqDto_1.setEvaObjTargetCycleId(reqDto.getDashboradCoreId());//SimpleFieldAssign//sourceId:1919500_1_71294
                queryTargetContetCycleDetailComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1919501_1_71294
            }

            /*D3查询目标周期开始与结束时间(公共)[9284]   */
            Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getEvaObjTargetCycleId(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-被评对象目标周期ID不能为空", false);
            Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-冗余评价模板ID不能为空", false);
            Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getSubjectLifeCycle(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-主体生命周期不能为空", false);
            Assert.isNull(queryTargetContetCycleDetailComReqDto_1.getSpaceId(), "D3查询标志性成果明细列表(公共)-D3查询目标周期开始与结束时间(公共)-创建于空间ID不能为空", false);
            queryTargetContetCycleDetailComRespDto_2 = targetCalcService.queryTargetContetCycleDetailCom(queryTargetContetCycleDetailComReqDto_1)/*vcase invoke isSameApp*/;


            if ((reqDto != null && reqDto.getParentSubMidCycleType() != null && reqDto.getParentSubMidCycleType().equals("SUB_CYCLE"))) {
                //if(D3查询标志性成果明细列表(公共).父子中周期类型 等于 子周期)  71295
                // TODO: 2022/9/9  晓东，分页改造
                page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
                QueryAchievementDockPagingListComRespDto queryAchievementDockPagingListComRespDto_2 = null;
                QueryAchievementDockPagingListComReqDto queryAchievementDockPagingListComReqDto_1 = new QueryAchievementDockPagingListComReqDto();
                queryAchievementDockPagingListComReqDto_1.setIsSymbolicAchievement("TRUE");//sourceId:1919524_1_71297
                queryAchievementDockPagingListComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1919542_1_71297
                queryAchievementDockPagingListComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1919543_1_71297
                if (reqDto != null) {
                    queryAchievementDockPagingListComReqDto_1.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1919514_1_71297
                    queryAchievementDockPagingListComReqDto_1.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1919520_1_71297
                    queryAchievementDockPagingListComReqDto_1.setAchievementBelongBodyId(reqDto.getDashboradCoreId());//SimpleFieldAssign//sourceId:1919538_1_71297
                    queryAchievementDockPagingListComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1919540_1_71297
                }

                /*D3查询部门根节点对接成果关系（分页）列表(公共)[9919]   */
                Assert.isNull(queryAchievementDockPagingListComReqDto_1.getAchievementBelongBodyId(), "D3查询标志性成果明细列表(公共)-D3查询部门根节点对接成果关系（分页）列表(公共)-成果所属主体ID不能为空", false);
                Assert.isNull(queryAchievementDockPagingListComReqDto_1.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3查询部门根节点对接成果关系（分页）列表(公共)-归属评价模板ID不能为空", false);
                Assert.isNull(queryAchievementDockPagingListComReqDto_1.getIsSymbolicAchievement(), "D3查询标志性成果明细列表(公共)-D3查询部门根节点对接成果关系（分页）列表(公共)-是否标志性成果不能为空", false);
                Assert.isNull(queryAchievementDockPagingListComReqDto_1.getSubjectLifeCycle(), "D3查询标志性成果明细列表(公共)-D3查询部门根节点对接成果关系（分页）列表(公共)-主体生命周期不能为空", false);
                Assert.isNull(queryAchievementDockPagingListComReqDto_1.getSpaceId(), "D3查询标志性成果明细列表(公共)-D3查询部门根节点对接成果关系（分页）列表(公共)-创建于空间ID不能为空", false);
                queryAchievementDockPagingListComRespDto_2 = queryAchievementDockPagingListCom(queryAchievementDockPagingListComReqDto_1)/*vcase invoke 同服务,同domain*/;


//ModelCode: receptionService
                ImplementEightReceivingFieldRespDto receptionServiceRes_3 = null;
                if (queryAchievementDockPagingListComRespDto_2 != null) {
                    ImplementEightReceivingFieldReqDto receptionServiceReq_2 = new ImplementEightReceivingFieldReqDto();
                    if (queryAchievementDockPagingListComRespDto_2 != null && queryAchievementDockPagingListComRespDto_2.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryAchievementDockPagingListComRespDto_2.getAchievementDockingList())) {
                        receptionServiceReq_2.setAchievementDockingList(queryAchievementDockPagingListComRespDto_2.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1918297_1_71298
                    }

                    /*M3接收对接成果关系数据集出参[8691]  用于特殊方法接收上游入参。 */

                    receptionServiceRes_3 = nbDashboardAchievement.implementEightReceivingField(receptionServiceReq_2);


                    receptionServiceRes_1 = receptionServiceRes_3;
                }
            } else if ((reqDto != null && reqDto.getParentSubMidCycleType() != null && reqDto.getParentSubMidCycleType().equals("PARENT_CYCLE") || reqDto != null && reqDto.getParentSubMidCycleType() != null && reqDto.getParentSubMidCycleType().equals("MID_CYCLE"))) {
                //elseif((D3查询标志性成果明细列表(公共).父子中周期类型 等于 父周期 or D3查询标志性成果明细列表(公共).父子中周期类型 等于 中期))  71299

                QueryTargetContentSubCycleListComRespDto queryTargetContentSubCycleListComRespDto_2 = null;
                if (queryTargetContetCycleDetailComRespDto_2 != null) {
                    QueryTargetContentSubCycleListComReqDto queryTargetContentSubCycleListComReqDto_1 = new QueryTargetContentSubCycleListComReqDto();
                    if (queryTargetContetCycleDetailComRespDto_2 != null) {
                        queryTargetContentSubCycleListComReqDto_1.setEvaObjEntityId(queryTargetContetCycleDetailComRespDto_2.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1917825_1_71300
                        queryTargetContentSubCycleListComReqDto_1.setEvaObjTypeCode(queryTargetContetCycleDetailComRespDto_2.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1917826_1_71300
                        queryTargetContentSubCycleListComReqDto_1.setTargetCycleContentTypeCode(queryTargetContetCycleDetailComRespDto_2.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1917831_1_71300
                        queryTargetContentSubCycleListComReqDto_1.setTargetCycleContentId(queryTargetContetCycleDetailComRespDto_2.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1917827_1_71300
                        queryTargetContentSubCycleListComReqDto_1.setCycleStartTime(queryTargetContetCycleDetailComRespDto_2.getCycleStartTime());//SimpleFieldAssign//sourceId:1917828_1_71300
                        queryTargetContentSubCycleListComReqDto_1.setCycleEndTime(queryTargetContetCycleDetailComRespDto_2.getCycleEndTime());//SimpleFieldAssign//sourceId:1917829_1_71300
                    }
                    if (reqDto != null) {
                        queryTargetContentSubCycleListComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917830_1_71300
                    }

                    /*D3查询目标内容子周期列表(公共)[9280]   */
                    Assert.isNull(queryTargetContentSubCycleListComReqDto_1.getEvaObjTypeCode(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-被评对象类型编码不能为空", false);
                    Assert.isNull(queryTargetContentSubCycleListComReqDto_1.getCycleStartTime(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-目标计划开始时间不能为空", false);
                    Assert.isNull(queryTargetContentSubCycleListComReqDto_1.getCycleEndTime(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-目标计划结束时间不能为空", false);
                    Assert.isNull(queryTargetContentSubCycleListComReqDto_1.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3查询目标内容子周期列表(公共)-冗余评价模板ID不能为空", false);
                    queryTargetContentSubCycleListComRespDto_2 = targetContentService.queryTargetContentSubCycleListCom(queryTargetContentSubCycleListComReqDto_1)/*vcase invoke isSameApp*/;


                }

                // TODO: 2022/9/9  晓东，分页改造
                page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
                BatchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto = null;
                if (queryTargetContentSubCycleListComRespDto_2 != null) {
                    BatchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto = new BatchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto();
                    batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setIsSymbolicAchievement("TRUE");//sourceId:1917807_1_71301
                    batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1917812_1_71301
                    batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1917813_1_71301
                    if (queryTargetContentSubCycleListComRespDto_2 != null && queryTargetContentSubCycleListComRespDto_2.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryTargetContentSubCycleListComRespDto_2.getEvaObjTargetCycleList())) {
                        batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setAchievementDockingList(queryTargetContentSubCycleListComRespDto_2.getEvaObjTargetCycleList().stream().map(item -> item.getEvaObjTargetCycleId())
                                .collect(Collectors.toList()));/*list-to-strings*///sourceId:1917801_1_71301
                    }
                    if (reqDto != null) {
                        batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setAchievementTypeId(reqDto.getAchievementTypeId());//SimpleFieldAssign//sourceId:1917802_1_71301
                        batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setAchievementGradeId(reqDto.getAchievementGradeId());//SimpleFieldAssign//sourceId:1917805_1_71301
                        batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1917811_1_71301
                    }

                    /*D3批量查询对接成果By所属主体列表(分页)[9923]   */
                    Assert.isNull(batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.getEvaluationTemplateId(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By所属主体列表(分页)-归属评价模板ID不能为空", false);
                    Assert.isNull(batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.getIsSymbolicAchievement(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By所属主体列表(分页)-是否标志性成果不能为空", false);
                    Assert.isNull(batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.getSubjectLifeCycle(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By所属主体列表(分页)-主体生命周期不能为空", false);
                    Assert.isNull(batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto.getSpaceId(), "D3查询标志性成果明细列表(公共)-D3批量查询对接成果By所属主体列表(分页)-创建于空间ID不能为空", false);
                    batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto = batchQueryAchievementDockByBelongBodyPagingListByIdsCom(batchQueryAchievementDockByBelongBodyPagingListByIdsComReqDto)/*vcase invoke 同服务,同domain*/;


                }
//ModelCode: receptionService
                ImplementEightReceivingFieldRespDto receptionServiceRes_4 = null;
                if (batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto != null) {
                    ImplementEightReceivingFieldReqDto receptionServiceReq_3 = new ImplementEightReceivingFieldReqDto();
                    if (batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto != null && batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto.getAchievementDockingList())) {
                        receptionServiceReq_3.setAchievementDockingList(batchQueryAchievementDockByBelongBodyPagingListByIdsComRespDto.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1918297_1_71302
                    }

                    /*M3接收对接成果关系数据集出参[8691]  用于特殊方法接收上游入参。 */

                    receptionServiceRes_4 = nbDashboardAchievement.implementEightReceivingField(receptionServiceReq_3);


                    receptionServiceRes_1 = receptionServiceRes_4;
                }
            }
        }
        QueryIconicAchievementsDetailsListComRespDto retData = new QueryIconicAchievementsDetailsListComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setAchievementDockingList(receptionServiceRes_1.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1918298_1
        }


        // TODO: 2023/11/13 手写代码

        if (page != null) {
            retData.setPageNum(page.getPageNum());
            retData.setPageSize(page.getPageSize());
            retData.setTotalNum(page.getTotal());
        }


        return retData;
    }

    /**
     * D3查询目标内容成果文档列表(公共)[10081]
     * gen by moon at 8/25/2024, 1:18:24 PM
     */
    @Trace(operationName = "D3查询目标内容成果文档列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryTargetContAchievementDocListComRespDto queryTargetContAchievementDocListCom(QueryTargetContAchievementDocListComReqDto reqDto) {


        // TODO: 2024/8/15
        Long total = 0l;
        ImplementElevenReceivingFieldRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getIsSymbolicAchievements() != null && reqDto.getIsSymbolicAchievements().equals("TRUE") && reqDto != null && reqDto.getIsQueryAllDoc() != null && reqDto.getIsQueryAllDoc().equals("TRUE"))) {
            //if((D3查询目标内容成果文档列表(公共).是否对接成果 等于 是 and D3查询目标内容成果文档列表(公共).是否查询全部文档 等于 是))  72048

            QueryTargetContTreeNodeAchievementDockListComRespDto queryTargetContTreeNodeAchievementDockListComRespDto = null;
            QueryTargetContTreeNodeAchievementDockListComReqDto queryTargetContTreeNodeAchievementDockListComReqDto = new QueryTargetContTreeNodeAchievementDockListComReqDto();
            if (reqDto != null) {
                queryTargetContTreeNodeAchievementDockListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1970235_1_72154
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1970236_1_72154
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1970237_1_72154
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1970238_1_72154
                queryTargetContTreeNodeAchievementDockListComReqDto.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1970234_1_72154
                queryTargetContTreeNodeAchievementDockListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970241_1_72154
                queryTargetContTreeNodeAchievementDockListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1970239_1_72154
            }

            /*D3查询目标内容树成果关系列表(公共)[10091]   */
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getCycleId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树成果关系列表(公共)-周期ID不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getIsParentCycle(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树成果关系列表(公共)-是否父周期不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getIsMetaphase(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树成果关系列表(公共)-是否中期不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getIsSubCycle(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树成果关系列表(公共)-是否子周期不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getEvaObjTargetCycleCode(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树成果关系列表(公共)-被评对象目标周期标识不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getEvaluationTemplateId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树成果关系列表(公共)-冗余评价模板ID不能为空", false);
            queryTargetContTreeNodeAchievementDockListComRespDto = queryTargetContTreeNodeAchievementDockListCom(queryTargetContTreeNodeAchievementDockListComReqDto)/*vcase invoke 同服务,同domain*/;


            BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto = null;
            if (queryTargetContTreeNodeAchievementDockListComRespDto != null) {
                BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto = new BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto();
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970260_1_72156
                if (queryTargetContTreeNodeAchievementDockListComRespDto != null && queryTargetContTreeNodeAchievementDockListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryTargetContTreeNodeAchievementDockListComRespDto.getAchievementDockingList())) {
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setUnstructuredRelationshipList(queryTargetContTreeNodeAchievementDockListComRespDto.getAchievementDockingList().stream().map(item -> item.getAchievementId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1970263_1_72156
                }
                if (reqDto != null) {
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setUnstructuredDataName(reqDto.getUnstructuredDataName());//SimpleFieldAssign//sourceId:1970262_1_72156
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setIsResult(reqDto.getIsResult());//SimpleFieldAssign//sourceId:1970265_1_72156
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setIsNetworkReference(reqDto.getIsNetworkReference());//SimpleFieldAssign//sourceId:1970266_1_72156
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970267_1_72156
                }

                // TODO: 2024/8/16
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setPageNum(reqDto.getPageNum());
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.setPageSize(reqDto.getPageSize());
                redisUtil.set("调试:D3查询目标内容成果文档列表(公共)-第一分支-设置分页值", reqDto.getPageNum() + "," + reqDto.getPageSize());
                /*D2批量查询文档关系实例by归属内容表主键(公共)[10083]   */
                Assert.isNull(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto.getSpaceId(), "D3查询目标内容成果文档列表(公共)-D2批量查询文档关系实例by归属内容表主键(公共)-创建于空间ID不能为空", false);
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto = unstructuredDataService.batchQueryUnstructuredRelationshipInstanceByOwnEntityIdCom(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;

                // TODO: 2024/8/15
                total = batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto.getTotalNum();

            }
//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
            if (batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto != null) {
                ImplementElevenReceivingFieldReqDto receptionServiceReq = new ImplementElevenReceivingFieldReqDto();
                if (batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto != null && batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto.getDocumentList() != null && !CollectionUtil.isEmpty(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto.getDocumentList())) {
                    receptionServiceReq.setDocumentList(//objList-to-objLists
                            batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto.getDocumentList().stream().map(item -> {
                                DocumentDto elm = new DocumentDto();
                                if (item != null) {
                                    elm.setUnstructuredDataRelationshipId(item.getUnstructuredDataRelationshipId());//SimpleFieldAssign//sourceId:404385_2_72058
                                    elm.setUnstructuredDataId(item.getUnstructuredDataId());//SimpleFieldAssign//sourceId:404356_2_72058
                                    elm.setOwnEntityId(item.getOwnEntityId());//SimpleFieldAssign//sourceId:404386_2_72058
                                    elm.setOwnParentContentId(item.getOwnParentContentId());//SimpleFieldAssign//sourceId:404387_2_72058
                                    elm.setThemeContentId(item.getThemeContentId());//SimpleFieldAssign//sourceId:404388_2_72058
                                    elm.setUnstructuredDataNumber(item.getUnstructuredDataNumber());//SimpleFieldAssign//sourceId:404397_2_72058
                                    elm.setUnstructuredDataName(item.getUnstructuredDataAliasName() != null ? String.valueOf(item.getUnstructuredDataAliasName()) : "");//SimpleFieldAssign//sourceId:404357_2_72058
                                    elm.setPostfix(item.getPostfix());//SimpleFieldAssign//sourceId:404358_2_72058
                                    elm.setFileSize(item.getFileSize());//SimpleFieldAssign//sourceId:404396_2_72058
                                    elm.setFileRelativeAllPathAccess(item.getFileRelativeAllPathAccess());//SimpleFieldAssign//sourceId:404359_2_72058
                                    elm.setUnstructuredDataDetailType(item.getUnstructuredDataDetailType());//SimpleFieldAssign//sourceId:404404_2_72058
                                    elm.setIsSupportPreview(item.getIsSupportPreview());//SimpleFieldAssign//sourceId:404405_2_72058
                                    elm.setIsUserUpload(item.getIsUserUpload());//SimpleFieldAssign//sourceId:404406_2_72058
                                    elm.setCreateInductionId(item.getCreateInductionId());//SimpleFieldAssign//sourceId:404390_2_72058
                                    elm.setCreateTime(item.getCreateTime());//SimpleFieldAssign//sourceId:405543_2_72058
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1963510_1_72058
                }

                /*M3-接收出参字段：文档列表[9482]  用于特殊方法接收上游入参。 */

                receptionServiceRes = nbDashboardAchievement.implementElevenReceivingField(receptionServiceReq);


                receptionServiceRes_1 = receptionServiceRes;
            }
        } else if ((reqDto != null && reqDto.getIsSymbolicAchievements() != null && reqDto.getIsSymbolicAchievements().equals("TRUE") && reqDto != null && reqDto.getIsQueryAllDoc() != null && reqDto.getIsQueryAllDoc().equals("FALSE"))) {
            //elseif((D3查询目标内容成果文档列表(公共).是否对接成果 等于 是 and D3查询目标内容成果文档列表(公共).是否查询全部文档 等于 否))  72049

            QueryTargetContAchievementDockListComRespDto queryTargetContAchievementDockListComRespDto = null;
            QueryTargetContAchievementDockListComReqDto queryTargetContAchievementDockListComReqDto = new QueryTargetContAchievementDockListComReqDto();
            queryTargetContAchievementDockListComReqDto.setIsArchive("FALSE");//sourceId:1970331_1_72155
            queryTargetContAchievementDockListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970332_1_72155
            if (reqDto != null) {
                queryTargetContAchievementDockListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1970328_1_72155
                queryTargetContAchievementDockListComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1970329_1_72155
                queryTargetContAchievementDockListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1970330_1_72155
                queryTargetContAchievementDockListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970327_1_72155
            }

            /*D3查询目标内容成果关系列表(公共)[9336]   */
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getCycleId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容成果关系列表(公共)-归属子周期周期ID不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getTargetCycleContentId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容成果关系列表(公共)-归属目标内容ID不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getEvaluationTemplateId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容成果关系列表(公共)-归属评价模板ID不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getIsArchive(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容成果关系列表(公共)-是否存档不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getSpaceId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容成果关系列表(公共)-创建于空间ID不能为空", false);
            queryTargetContAchievementDockListComRespDto = queryTargetContAchievementDockListCom(queryTargetContAchievementDockListComReqDto)/*vcase invoke 同服务,同domain*/;


            BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2 = null;
            if (queryTargetContAchievementDockListComRespDto != null) {
                BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1 = new BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto();
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970260_1_72157
                if (queryTargetContAchievementDockListComRespDto != null && queryTargetContAchievementDockListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryTargetContAchievementDockListComRespDto.getAchievementDockingList())) {
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setUnstructuredRelationshipList(queryTargetContAchievementDockListComRespDto.getAchievementDockingList().stream().map(item -> item.getAchievementId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1970263_1_72157
                }
                if (reqDto != null) {
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setUnstructuredDataName(reqDto.getUnstructuredDataName());//SimpleFieldAssign//sourceId:1970262_1_72157
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setIsResult(reqDto.getIsResult());//SimpleFieldAssign//sourceId:1970265_1_72157
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setIsNetworkReference(reqDto.getIsNetworkReference());//SimpleFieldAssign//sourceId:1970266_1_72157
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970267_1_72157
                }

                // TODO: 2024/8/16
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setPageNum(reqDto.getPageNum());
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.setPageSize(reqDto.getPageSize());
                redisUtil.set("调试:D3查询目标内容成果文档列表(公共)-第二分支-设置分页值", reqDto.getPageNum() + "," + reqDto.getPageSize());
                /*D2批量查询文档关系实例by归属内容表主键(公共)[10083]   */
                Assert.isNull(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1.getSpaceId(), "D3查询目标内容成果文档列表(公共)-D2批量查询文档关系实例by归属内容表主键(公共)-创建于空间ID不能为空", false);
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2 = unstructuredDataService.batchQueryUnstructuredRelationshipInstanceByOwnEntityIdCom(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;

                // TODO: 2024/8/15
                total = batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2.getTotalNum();

            }
//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
            if (batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2 != null) {
                ImplementElevenReceivingFieldReqDto receptionServiceReq_1 = new ImplementElevenReceivingFieldReqDto();
                if (batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2 != null && batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2.getDocumentList() != null && !CollectionUtil.isEmpty(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2.getDocumentList())) {
                    receptionServiceReq_1.setDocumentList(//objList-to-objLists
                            batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_2.getDocumentList().stream().map(item -> {
                                DocumentDto elm = new DocumentDto();
                                if (item != null) {
                                    elm.setUnstructuredDataRelationshipId(item.getUnstructuredDataRelationshipId());//SimpleFieldAssign//sourceId:404385_2_72059
                                    elm.setUnstructuredDataId(item.getUnstructuredDataId());//SimpleFieldAssign//sourceId:404356_2_72059
                                    elm.setOwnEntityId(item.getOwnEntityId());//SimpleFieldAssign//sourceId:404386_2_72059
                                    elm.setOwnParentContentId(item.getOwnParentContentId());//SimpleFieldAssign//sourceId:404387_2_72059
                                    elm.setThemeContentId(item.getThemeContentId());//SimpleFieldAssign//sourceId:404388_2_72059
                                    elm.setUnstructuredDataNumber(item.getUnstructuredDataNumber());//SimpleFieldAssign//sourceId:404397_2_72059
                                    elm.setUnstructuredDataName(item.getUnstructuredDataAliasName() != null ? String.valueOf(item.getUnstructuredDataAliasName()) : "");//SimpleFieldAssign//sourceId:404357_2_72059
                                    elm.setPostfix(item.getPostfix());//SimpleFieldAssign//sourceId:404358_2_72059
                                    elm.setFileSize(item.getFileSize());//SimpleFieldAssign//sourceId:404396_2_72059
                                    elm.setFileRelativeAllPathAccess(item.getFileRelativeAllPathAccess() != null ? String.valueOf(item.getFileRelativeAllPathAccess()) : "");//SimpleFieldAssign//sourceId:404359_2_72059
                                    elm.setUnstructuredDataDetailType(item.getUnstructuredDataDetailType());//SimpleFieldAssign//sourceId:404404_2_72059
                                    elm.setIsSupportPreview(item.getIsSupportPreview());//SimpleFieldAssign//sourceId:404405_2_72059
                                    elm.setIsUserUpload(item.getIsUserUpload());//SimpleFieldAssign//sourceId:404406_2_72059
                                    elm.setCreateInductionId(item.getCreateInductionId());//SimpleFieldAssign//sourceId:404390_2_72059
                                    elm.setCreateTime(item.getCreateTime());//SimpleFieldAssign//sourceId:405543_2_72059
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1963510_1_72059
                }

                /*M3-接收出参字段：文档列表[9482]  用于特殊方法接收上游入参。 */

                receptionServiceRes_2 = nbDashboardAchievement.implementElevenReceivingField(receptionServiceReq_1);


                receptionServiceRes_1 = receptionServiceRes_2;
            }
        } else if ((reqDto != null && reqDto.getIsSymbolicAchievements() != null && reqDto.getIsSymbolicAchievements().equals("FALSE") || reqDto != null && reqDto.getIsSymbolicAchievements() == null) && (reqDto != null && reqDto.getIsQueryAllDoc() != null && reqDto.getIsQueryAllDoc().equals("TRUE"))) {
            //elseif((D3查询目标内容成果文档列表(公共).是否对接成果 等于 否 or D3查询目标内容成果文档列表(公共).是否对接成果 值等于空 ) and D3查询目标内容成果文档列表(公共).是否查询全部文档 等于 是)  72152

            QueryTargetContTreeUnstructuredRelationshipInstanceListComRespDto queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto = null;
            QueryTargetContTreeUnstructuredRelationshipInstanceListComReqDto queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto = new QueryTargetContTreeUnstructuredRelationshipInstanceListComReqDto();
            if (reqDto != null) {
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1970294_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1970295_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1970296_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1970297_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1970293_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setUnstructuredDataName(reqDto.getUnstructuredDataName());//SimpleFieldAssign//sourceId:1970301_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setIsResult(reqDto.getIsResult());//SimpleFieldAssign//sourceId:1970302_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setIsNetworkReference(reqDto.getIsNetworkReference());//SimpleFieldAssign//sourceId:1970303_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970299_1_72161
                queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1970300_1_72161
            }

            /*D3查询目标内容树周期阶段资料列表(公共)[10094]   */
            Assert.isNull(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.getCycleId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树周期阶段资料列表(公共)-周期ID不能为空", false);
            Assert.isNull(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.getIsParentCycle(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树周期阶段资料列表(公共)-是否父周期不能为空", false);
            Assert.isNull(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.getIsMetaphase(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树周期阶段资料列表(公共)-是否中期不能为空", false);
            Assert.isNull(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.getIsSubCycle(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树周期阶段资料列表(公共)-是否子周期不能为空", false);
            Assert.isNull(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.getEvaObjTargetCycleCode(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树周期阶段资料列表(公共)-被评对象目标周期标识不能为空", false);
            Assert.isNull(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto.getEvaluationTemplateId(), "D3查询目标内容成果文档列表(公共)-D3查询目标内容树周期阶段资料列表(公共)-冗余评价模板ID不能为空", false);
            queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto = unstructuredDataService.queryTargetContTreeUnstructuredRelationshipInstanceListCom(queryTargetContTreeUnstructuredRelationshipInstanceListComReqDto)/*vcase invoke isSameApp*/;


            BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3 = null;
            if (queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto != null) {
                BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2 = new BatchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto();
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970260_1_72162
                if (queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto != null && queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto.getCycleStageDataList() != null && !CollectionUtil.isEmpty(queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto.getCycleStageDataList())) {
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setUnstructuredRelationshipList(queryTargetContTreeUnstructuredRelationshipInstanceListComRespDto.getCycleStageDataList().stream().map(item -> item.getCycleStageDataId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1970263_1_72162
                }
                if (reqDto != null) {
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setUnstructuredDataName(reqDto.getUnstructuredDataName());//SimpleFieldAssign//sourceId:1970262_1_72162
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setIsResult(reqDto.getIsResult());//SimpleFieldAssign//sourceId:1970265_1_72162
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setIsNetworkReference(reqDto.getIsNetworkReference());//SimpleFieldAssign//sourceId:1970266_1_72162
                    batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970267_1_72162
                }


                // TODO: 2024/8/16
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setPageNum(reqDto.getPageNum());
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.setPageSize(reqDto.getPageSize());
                redisUtil.set("调试:D3查询目标内容成果文档列表(公共)-第三分支-设置分页值", reqDto.getPageNum() + "," + reqDto.getPageSize());
                /*D2批量查询文档关系实例by归属内容表主键(公共)[10083]   */
                Assert.isNull(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2.getSpaceId(), "D3查询目标内容成果文档列表(公共)-D2批量查询文档关系实例by归属内容表主键(公共)-创建于空间ID不能为空", false);
                batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3 = unstructuredDataService.batchQueryUnstructuredRelationshipInstanceByOwnEntityIdCom(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;

                // TODO: 2024/8/15
                total = batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3.getTotalNum();

            }
//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes_3 = null;
            if (batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3 != null) {
                ImplementElevenReceivingFieldReqDto receptionServiceReq_2 = new ImplementElevenReceivingFieldReqDto();
                if (batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3 != null && batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3.getDocumentList() != null && !CollectionUtil.isEmpty(batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3.getDocumentList())) {
                    receptionServiceReq_2.setDocumentList(//objList-to-objLists
                            batchQueryUnstructuredRelationshipInstanceByOwnEntityIdComRespDto_3.getDocumentList().stream().map(item -> {
                                DocumentDto elm = new DocumentDto();
                                if (item != null) {
                                    elm.setUnstructuredDataRelationshipId(item.getUnstructuredDataRelationshipId());//SimpleFieldAssign//sourceId:404385_2_72159
                                    elm.setUnstructuredDataId(item.getUnstructuredDataId());//SimpleFieldAssign//sourceId:404356_2_72159
                                    elm.setOwnEntityId(item.getOwnEntityId());//SimpleFieldAssign//sourceId:404386_2_72159
                                    elm.setOwnParentContentId(item.getOwnParentContentId());//SimpleFieldAssign//sourceId:404387_2_72159
                                    elm.setThemeContentId(item.getThemeContentId());//SimpleFieldAssign//sourceId:404388_2_72159
                                    elm.setUnstructuredDataNumber(item.getUnstructuredDataNumber());//SimpleFieldAssign//sourceId:404397_2_72159
                                    elm.setUnstructuredDataName(item.getUnstructuredDataAliasName() != null ? String.valueOf(item.getUnstructuredDataAliasName()) : "");//SimpleFieldAssign//sourceId:404357_2_72159
                                    elm.setPostfix(item.getPostfix());//SimpleFieldAssign//sourceId:404358_2_72159
                                    elm.setFileSize(item.getFileSize());//SimpleFieldAssign//sourceId:404396_2_72159
                                    elm.setFileRelativeAllPathAccess(item.getFileRelativeAllPathAccess() != null ? String.valueOf(item.getFileRelativeAllPathAccess()) : "");//SimpleFieldAssign//sourceId:404359_2_72159
                                    elm.setUnstructuredDataDetailType(item.getUnstructuredDataDetailType());//SimpleFieldAssign//sourceId:404404_2_72159
                                    elm.setIsSupportPreview(item.getIsSupportPreview());//SimpleFieldAssign//sourceId:404405_2_72159
                                    elm.setIsUserUpload(item.getIsUserUpload());//SimpleFieldAssign//sourceId:404406_2_72159
                                    elm.setCreateInductionId(item.getCreateInductionId());//SimpleFieldAssign//sourceId:404390_2_72159
                                    elm.setCreateTime(item.getCreateTime());//SimpleFieldAssign//sourceId:405543_2_72159
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1963510_1_72159
                }

                /*M3-接收出参字段：文档列表[9482]  用于特殊方法接收上游入参。 */

                receptionServiceRes_3 = nbDashboardAchievement.implementElevenReceivingField(receptionServiceReq_2);


                receptionServiceRes_1 = receptionServiceRes_3;
            }
        } else if ((reqDto != null && reqDto.getIsSymbolicAchievements() != null && reqDto.getIsSymbolicAchievements().equals("FALSE") || reqDto != null && reqDto.getIsSymbolicAchievements() == null) && (reqDto != null && reqDto.getIsQueryAllDoc() != null && reqDto.getIsQueryAllDoc().equals("FALSE"))) {
            //elseif((D3查询目标内容成果文档列表(公共).是否对接成果 等于 否 or D3查询目标内容成果文档列表(公共).是否对接成果 值等于空 ) and D3查询目标内容成果文档列表(公共).是否查询全部文档 等于 否)  72153

            QueryUnstructuredRelationshipInstanceListComRespDto queryUnstructuredRelationshipInstanceListComRespDto = null;
            QueryUnstructuredRelationshipInstanceListComReqDto queryUnstructuredRelationshipInstanceListComReqDto = new QueryUnstructuredRelationshipInstanceListComReqDto();
            queryUnstructuredRelationshipInstanceListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1970312_1_72160
            if (reqDto != null) {
                queryUnstructuredRelationshipInstanceListComReqDto.setOwnWorkCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1970309_1_72160
                queryUnstructuredRelationshipInstanceListComReqDto.setOwnParentContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1970310_1_72160
                queryUnstructuredRelationshipInstanceListComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1970311_1_72160
                queryUnstructuredRelationshipInstanceListComReqDto.setUnstructuredDataName(reqDto.getUnstructuredDataName());//SimpleFieldAssign//sourceId:1970305_1_72160
                queryUnstructuredRelationshipInstanceListComReqDto.setIsResult(reqDto.getIsResult());//SimpleFieldAssign//sourceId:1970307_1_72160
                queryUnstructuredRelationshipInstanceListComReqDto.setIsNetworkReference(reqDto.getIsNetworkReference());//SimpleFieldAssign//sourceId:1970306_1_72160
                queryUnstructuredRelationshipInstanceListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1970308_1_72160
            }


            // TODO: 2024/8/16
            queryUnstructuredRelationshipInstanceListComReqDto.setPageNum(reqDto.getPageNum());
            queryUnstructuredRelationshipInstanceListComReqDto.setPageSize(reqDto.getPageSize());
            redisUtil.set("调试:D3查询目标内容成果文档列表(公共)-第四分支-设置分页值", reqDto.getPageNum() + "," + reqDto.getPageSize());
            /*D2查询文档关系实例列表(公共)[8781]   */
            Assert.isNull(queryUnstructuredRelationshipInstanceListComReqDto.getSpaceId(), "D3查询目标内容成果文档列表(公共)-D2查询文档关系实例列表(公共)-创建于空间ID不能为空", false);
            queryUnstructuredRelationshipInstanceListComRespDto = unstructuredDataService.queryUnstructuredRelationshipInstanceListCom(queryUnstructuredRelationshipInstanceListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;

            // TODO: 2024/8/15
            total = queryUnstructuredRelationshipInstanceListComRespDto.getTotalNum();

//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes_4 = null;
            if (queryUnstructuredRelationshipInstanceListComRespDto != null) {
                ImplementElevenReceivingFieldReqDto receptionServiceReq_3 = new ImplementElevenReceivingFieldReqDto();
                if (queryUnstructuredRelationshipInstanceListComRespDto != null && queryUnstructuredRelationshipInstanceListComRespDto.getUnstructuredRelationshipList() != null && !CollectionUtil.isEmpty(queryUnstructuredRelationshipInstanceListComRespDto.getUnstructuredRelationshipList())) {
                    receptionServiceReq_3.setDocumentList(//objList-to-objLists
                            queryUnstructuredRelationshipInstanceListComRespDto.getUnstructuredRelationshipList().stream().map(item -> {
                                DocumentDto elm = new DocumentDto();
                                if (item != null) {
                                    elm.setUnstructuredDataRelationshipId(item.getUnstructuredDataRelationshipId());//SimpleFieldAssign//sourceId:404385_2_72158
                                    elm.setUnstructuredDataId(item.getUnstructuredDataId());//SimpleFieldAssign//sourceId:404356_2_72158
                                    elm.setOwnEntityId(item.getOwnEntityId());//SimpleFieldAssign//sourceId:404386_2_72158
                                    elm.setOwnParentContentId(item.getOwnParentContentId());//SimpleFieldAssign//sourceId:404387_2_72158
                                    elm.setThemeContentId(item.getThemeContentId());//SimpleFieldAssign//sourceId:404388_2_72158
                                    elm.setUnstructuredDataNumber(item.getUnstructuredDataNumber());//SimpleFieldAssign//sourceId:404397_2_72158
                                    elm.setUnstructuredDataName(item.getUnstructuredDataAliasName() != null ? String.valueOf(item.getUnstructuredDataAliasName()) : "");//SimpleFieldAssign//sourceId:404357_2_72158
                                    elm.setPostfix(item.getPostfix());//SimpleFieldAssign//sourceId:404358_2_72158
                                    elm.setFileSize(item.getFileSize());//SimpleFieldAssign//sourceId:404396_2_72158
                                    elm.setFileRelativeAllPathAccess(item.getFileRelativeAllPathAccess() != null ? String.valueOf(item.getFileRelativeAllPathAccess()) : "");//SimpleFieldAssign//sourceId:404359_2_72158
                                    elm.setUnstructuredDataDetailType(item.getUnstructuredDataDetailType());//SimpleFieldAssign//sourceId:404404_2_72158
                                    elm.setIsSupportPreview(item.getIsSupportPreview());//SimpleFieldAssign//sourceId:404405_2_72158
                                    elm.setIsUserUpload(item.getIsUserUpload());//SimpleFieldAssign//sourceId:404406_2_72158
                                    elm.setCreateInductionId(item.getCreateInductionId());//SimpleFieldAssign//sourceId:404390_2_72158
                                    elm.setCreateTime(item.getCreateTime());//SimpleFieldAssign//sourceId:405543_2_72158
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1963510_1_72158
                }

                /*M3-接收出参字段：文档列表[9482]  用于特殊方法接收上游入参。 */

                receptionServiceRes_4 = nbDashboardAchievement.implementElevenReceivingField(receptionServiceReq_3);


                receptionServiceRes_1 = receptionServiceRes_4;
            }
        }
        QueryTargetContAchievementDocListComRespDto retData = new QueryTargetContAchievementDocListComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setDocumentList(//objList-to-objLists
                    receptionServiceRes_1.getDocumentList().stream().map(item -> {
                        DocumentDto elm = new DocumentDto();
                        if (item != null) {
                            elm.setUnstructuredDataRelationshipId(item.getUnstructuredDataRelationshipId());//SimpleFieldAssign//sourceId:404426_2
                            elm.setUnstructuredDataId(item.getUnstructuredDataId());//SimpleFieldAssign//sourceId:404427_2
                            elm.setUnstructuredDataNumber(item.getUnstructuredDataNumber());//SimpleFieldAssign//sourceId:404431_2
                            elm.setUnstructuredDataName(item.getUnstructuredDataName());//SimpleFieldAssign//sourceId:404432_2
                            elm.setPostfix(item.getPostfix());//SimpleFieldAssign//sourceId:404433_2
                            elm.setFileSize(item.getFileSize());//SimpleFieldAssign//sourceId:404434_2
                            elm.setFileRelativeAllPathAccess(item.getFileRelativeAllPathAccess());//SimpleFieldAssign//sourceId:404435_2
                            elm.setUnstructuredDataDetailType(item.getUnstructuredDataDetailType());//SimpleFieldAssign//sourceId:404436_2
                            elm.setIsSupportPreview(item.getIsSupportPreview());//SimpleFieldAssign//sourceId:404437_2
                            elm.setIsUserUpload(item.getIsUserUpload());//SimpleFieldAssign//sourceId:404438_2
                            elm.setCreateInductionId(item.getCreateInductionId());//SimpleFieldAssign//sourceId:404441_2
                            elm.setCreateTime(item.getCreateTime());//SimpleFieldAssign//sourceId:405556_2
                        }
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1963655_1
        }

        // TODO: 2024/8/15
        retData.setPageNum(reqDto.getPageNum());
        retData.setPageSize(reqDto.getPageSize());
        retData.setTotalNum(total);


        return retData;
    }

    /**
     * D3查询目标内容树成果关系列表(公共)[10091]
     * gen by moon at 8/12/2024, 8:25:35 PM
     */
    @Trace(operationName = "D3查询目标内容树成果关系列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryTargetContTreeNodeAchievementDockListComRespDto queryTargetContTreeNodeAchievementDockListCom(QueryTargetContTreeNodeAchievementDockListComReqDto reqDto) {


        List<OmsAchievementDocking> listOmsAchievementDocking_1 = new ArrayList<>();
//virtualUsage D3判断父子中周期传值(公共)  72116
        JudgeBetweenFatherSonValueTransferComRespDto judgeBetweenFatherSonValueTransferComRespDto = null;
        JudgeBetweenFatherSonValueTransferComReqDto judgeBetweenFatherSonValueTransferComReqDto = new JudgeBetweenFatherSonValueTransferComReqDto();
        if (reqDto != null) {
            judgeBetweenFatherSonValueTransferComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1967479_1_72116
            judgeBetweenFatherSonValueTransferComReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1967476_1_72116
            judgeBetweenFatherSonValueTransferComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1967477_1_72116
            judgeBetweenFatherSonValueTransferComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1967478_1_72116
            judgeBetweenFatherSonValueTransferComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1967481_1_72116
        }

        /*D3判断父子中周期传值(公共)[4854]   */
        Assert.isNull(judgeBetweenFatherSonValueTransferComReqDto.getCycleId(), "D3查询目标内容树成果关系列表(公共)-D3判断父子中周期传值(公共)-周期ID不能为空", false);
        Assert.isNull(judgeBetweenFatherSonValueTransferComReqDto.getIsParentCycle(), "D3查询目标内容树成果关系列表(公共)-D3判断父子中周期传值(公共)-是否父周期不能为空", false);
        Assert.isNull(judgeBetweenFatherSonValueTransferComReqDto.getIsMetaphase(), "D3查询目标内容树成果关系列表(公共)-D3判断父子中周期传值(公共)-是否中期不能为空", false);
        Assert.isNull(judgeBetweenFatherSonValueTransferComReqDto.getIsSubCycle(), "D3查询目标内容树成果关系列表(公共)-D3判断父子中周期传值(公共)-是否子周期不能为空", false);
        Assert.isNull(judgeBetweenFatherSonValueTransferComReqDto.getEvaluationTemplateId(), "D3查询目标内容树成果关系列表(公共)-D3判断父子中周期传值(公共)-评价模板ID不能为空", false);
        judgeBetweenFatherSonValueTransferComRespDto = targetCycleService.judgeBetweenFatherSonValueTransferCom(judgeBetweenFatherSonValueTransferComReqDto)/*vcase invoke isSameApp*/;


//virtualUsage 3-3-09查询右模糊被评对象目标周期列表  72117
        List<OmsEvaluationObjectTargetCycle> listOmsEvaluationObjectTargetCycle = new ArrayList<>();
        if (judgeBetweenFatherSonValueTransferComRespDto != null) {
            QueryRightVagueEvaObjTargetCycleListReq queryRightVagueEvaObjTargetCycleListReq = new QueryRightVagueEvaObjTargetCycleListReq();
            queryRightVagueEvaObjTargetCycleListReq.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1966917_1_72117
            queryRightVagueEvaObjTargetCycleListReq.setEvaObjTypeCode("EVA_OBJECT");//sourceId:1966919_1_72117
            queryRightVagueEvaObjTargetCycleListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1966928_1_72117
            if (reqDto != null) {
                queryRightVagueEvaObjTargetCycleListReq.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1966916_1_72117
                queryRightVagueEvaObjTargetCycleListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1966922_1_72117
            }
            if (judgeBetweenFatherSonValueTransferComRespDto != null) {
                queryRightVagueEvaObjTargetCycleListReq.setCycleId(judgeBetweenFatherSonValueTransferComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1967380_1_72117
                queryRightVagueEvaObjTargetCycleListReq.setIsParentCycle(judgeBetweenFatherSonValueTransferComRespDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1966921_1_72117
                queryRightVagueEvaObjTargetCycleListReq.setIsMetaphase(judgeBetweenFatherSonValueTransferComRespDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1967381_1_72117
                queryRightVagueEvaObjTargetCycleListReq.setIsSubCycle(judgeBetweenFatherSonValueTransferComRespDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1967382_1_72117
            }

            /*3-3-09查询右模糊被评对象目标周期列表[5529]   */
            Assert.isNull(queryRightVagueEvaObjTargetCycleListReq.getEvaObjTargetCycleCode(), "D3查询目标内容树成果关系列表(公共)-3-3-09查询右模糊被评对象目标周期列表-被评对象目标周期标识不能为空", false);
            Assert.isNull(queryRightVagueEvaObjTargetCycleListReq.getEvaObjEntityId(), "D3查询目标内容树成果关系列表(公共)-3-3-09查询右模糊被评对象目标周期列表-被评对象内容表主键ID不能为空", false);
            Assert.isNull(queryRightVagueEvaObjTargetCycleListReq.getEvaObjTypeCode(), "D3查询目标内容树成果关系列表(公共)-3-3-09查询右模糊被评对象目标周期列表-被评对象类型编码不能为空", false);
            Assert.isNull(queryRightVagueEvaObjTargetCycleListReq.getSubjectLifeCycle(), "D3查询目标内容树成果关系列表(公共)-3-3-09查询右模糊被评对象目标周期列表-主体生命周期不能为空", false);
            Assert.isNull(queryRightVagueEvaObjTargetCycleListReq.getEvaluationTemplateId(), "D3查询目标内容树成果关系列表(公共)-3-3-09查询右模糊被评对象目标周期列表-冗余评价模板ID不能为空", false);
            listOmsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryRightVagueEvaObjTargetCycleList(queryRightVagueEvaObjTargetCycleListReq)/*vcase invoke 本地 method 方法调用;*/;


        }
        if ((listOmsEvaluationObjectTargetCycle != null && listOmsEvaluationObjectTargetCycle != null && listOmsEvaluationObjectTargetCycle.size() > 0)) {
            //if(3-3-09查询右模糊被评对象目标周期列表.右模糊被评对象目标周期列表数据集条数 大于 0)  72118

            List<OmsAchievementDocking> listOmsAchievementDocking = new ArrayList<>();
            if (listOmsEvaluationObjectTargetCycle != null && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) && listOmsEvaluationObjectTargetCycle.size() > 0) {
                BatchQueryAchievementDockingByEvaObjTargetCycleIdReq batchQueryAchievementDockingByEvaObjTargetCycleIdReq = new BatchQueryAchievementDockingByEvaObjTargetCycleIdReq();
                batchQueryAchievementDockingByEvaObjTargetCycleIdReq.setIsArchive("FALSE");//sourceId:1967372_1_72119
                batchQueryAchievementDockingByEvaObjTargetCycleIdReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1967374_1_72119
                if (listOmsEvaluationObjectTargetCycle != null && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle) && listOmsEvaluationObjectTargetCycle != null && !CollectionUtil.isEmpty(listOmsEvaluationObjectTargetCycle)) {
                    batchQueryAchievementDockingByEvaObjTargetCycleIdReq.setAchievementDockingList(listOmsEvaluationObjectTargetCycle.stream().map(item -> item.getEvaObjTargetCycleId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1967360_1_72119
                }
                if (reqDto != null) {
                    batchQueryAchievementDockingByEvaObjTargetCycleIdReq.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1967361_1_72119
                    batchQueryAchievementDockingByEvaObjTargetCycleIdReq.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1967362_1_72119
                    batchQueryAchievementDockingByEvaObjTargetCycleIdReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1967370_1_72119
                }

                /*3-10-08批量查询对接成果关系by被评对象目标周期ID[10092]   */
                Assert.isNull(batchQueryAchievementDockingByEvaObjTargetCycleIdReq.getEvaluationTemplateId(), "D3查询目标内容树成果关系列表(公共)-3-10-08批量查询对接成果关系by被评对象目标周期ID-归属评价模板ID不能为空", false);
                Assert.isNull(batchQueryAchievementDockingByEvaObjTargetCycleIdReq.getIsArchive(), "D3查询目标内容树成果关系列表(公共)-3-10-08批量查询对接成果关系by被评对象目标周期ID-是否存档不能为空", false);
                Assert.isNull(batchQueryAchievementDockingByEvaObjTargetCycleIdReq.getSpaceId(), "D3查询目标内容树成果关系列表(公共)-3-10-08批量查询对接成果关系by被评对象目标周期ID-创建于空间ID不能为空", false);
                listOmsAchievementDocking = mOmsAchievementDockingService.batchQueryAchievementDockingByEvaObjTargetCycleId(batchQueryAchievementDockingByEvaObjTargetCycleIdReq)/*vcase invoke 本地 method 方法调用;*/;


                listOmsAchievementDocking_1 = listOmsAchievementDocking;
            }
        }
        QueryTargetContTreeNodeAchievementDockListComRespDto retData = new QueryTargetContTreeNodeAchievementDockListComRespDto();
        retData.setAchievementDockingList(listOmsAchievementDocking_1.stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1967506_1


        return retData;
    }

    /**
     * D3查询目标内容当前或全部成果关系列表(公共)[10093]
     * gen by moon at 8/12/2024, 8:25:52 PM
     */
    @Trace(operationName = "D3查询目标内容当前或全部成果关系列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryTargetContCurOrAllAchievementDockListComRespDto queryTargetContCurOrAllAchievementDockListCom(QueryTargetContCurOrAllAchievementDockListComReqDto reqDto) {


        ImplementElevenReceivingFieldRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getIsQueryAllDoc() != null && reqDto.getIsQueryAllDoc().equals("TRUE"))) {
            //if(D3查询目标内容当前或全部成果关系列表(公共).是否查询全部文档 等于 是)  72120

            QueryTargetContTreeNodeAchievementDockListComRespDto queryTargetContTreeNodeAchievementDockListComRespDto = null;
            QueryTargetContTreeNodeAchievementDockListComReqDto queryTargetContTreeNodeAchievementDockListComReqDto = new QueryTargetContTreeNodeAchievementDockListComReqDto();
            if (reqDto != null) {
                queryTargetContTreeNodeAchievementDockListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1968351_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1968352_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1968353_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1968354_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1968350_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setIsSymbolicAchievements(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1968356_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1968357_1_72122
                queryTargetContTreeNodeAchievementDockListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1968355_1_72122
            }

            /*D3查询目标内容树成果关系列表(公共)[10091]   */
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getCycleId(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容树成果关系列表(公共)-周期ID不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getIsParentCycle(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容树成果关系列表(公共)-是否父周期不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getIsMetaphase(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容树成果关系列表(公共)-是否中期不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getIsSubCycle(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容树成果关系列表(公共)-是否子周期不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getEvaObjTargetCycleCode(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容树成果关系列表(公共)-被评对象目标周期标识不能为空", false);
            Assert.isNull(queryTargetContTreeNodeAchievementDockListComReqDto.getEvaluationTemplateId(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容树成果关系列表(公共)-冗余评价模板ID不能为空", false);
            queryTargetContTreeNodeAchievementDockListComRespDto = queryTargetContTreeNodeAchievementDockListCom(queryTargetContTreeNodeAchievementDockListComReqDto)/*vcase invoke 同服务,同domain*/;


//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
            if (queryTargetContTreeNodeAchievementDockListComRespDto != null) {
                ImplementElevenReceivingFieldReqDto receptionServiceReq = new ImplementElevenReceivingFieldReqDto();
                if (queryTargetContTreeNodeAchievementDockListComRespDto != null && queryTargetContTreeNodeAchievementDockListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryTargetContTreeNodeAchievementDockListComRespDto.getAchievementDockingList())) {
                    receptionServiceReq.setAchievementDockingList(queryTargetContTreeNodeAchievementDockListComRespDto.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1968361_1_72123
                }

                /*M3-接收出参：对接成果关系列表[9482]  用于特殊方法接收上游入参。 */

                receptionServiceRes = nbDashboardAchievement.implementElevenReceivingField(receptionServiceReq);


                receptionServiceRes_1 = receptionServiceRes;
            }
        } else if ((reqDto != null && reqDto.getIsQueryAllDoc() != null && reqDto.getIsQueryAllDoc().equals("FALSE"))) {
            //elseif(D3查询目标内容当前或全部成果关系列表(公共).是否查询全部文档 等于 否)  72121

            QueryTargetContAchievementDockListComRespDto queryTargetContAchievementDockListComRespDto = null;
            QueryTargetContAchievementDockListComReqDto queryTargetContAchievementDockListComReqDto = new QueryTargetContAchievementDockListComReqDto();
            queryTargetContAchievementDockListComReqDto.setIsArchive("FALSE");//sourceId:1968386_1_72124
            queryTargetContAchievementDockListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1968387_1_72124
            if (reqDto != null) {
                queryTargetContAchievementDockListComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1968384_1_72124
                queryTargetContAchievementDockListComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1968385_1_72124
                queryTargetContAchievementDockListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1968388_1_72124
                queryTargetContAchievementDockListComReqDto.setIsSymbolicAchievement(reqDto.getIsSymbolicAchievements());//SimpleFieldAssign//sourceId:1968382_1_72124
                queryTargetContAchievementDockListComReqDto.setCopyrightObjectId(reqDto.getCopyrightObjectId());//SimpleFieldAssign//sourceId:1968383_1_72124
            }

            /*D3查询目标内容成果关系列表(公共)[9336]   */
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getCycleId(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容成果关系列表(公共)-归属子周期周期ID不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getTargetCycleContentId(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容成果关系列表(公共)-归属目标内容ID不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getEvaluationTemplateId(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容成果关系列表(公共)-归属评价模板ID不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getIsArchive(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容成果关系列表(公共)-是否存档不能为空", false);
            Assert.isNull(queryTargetContAchievementDockListComReqDto.getSpaceId(), "D3查询目标内容当前或全部成果关系列表(公共)-D3查询目标内容成果关系列表(公共)-创建于空间ID不能为空", false);
            queryTargetContAchievementDockListComRespDto = queryTargetContAchievementDockListCom(queryTargetContAchievementDockListComReqDto)/*vcase invoke 同服务,同domain*/;


//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
            if (queryTargetContAchievementDockListComRespDto != null) {
                ImplementElevenReceivingFieldReqDto receptionServiceReq_1 = new ImplementElevenReceivingFieldReqDto();
                if (queryTargetContAchievementDockListComRespDto != null && queryTargetContAchievementDockListComRespDto.getAchievementDockingList() != null && !CollectionUtil.isEmpty(queryTargetContAchievementDockListComRespDto.getAchievementDockingList())) {
                    receptionServiceReq_1.setAchievementDockingList(queryTargetContAchievementDockListComRespDto.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1968361_1_72125
                }

                /*M3-接收出参：对接成果关系列表[9482]  用于特殊方法接收上游入参。 */

                receptionServiceRes_2 = nbDashboardAchievement.implementElevenReceivingField(receptionServiceReq_1);


                receptionServiceRes_1 = receptionServiceRes_2;
            }
        }
        QueryTargetContCurOrAllAchievementDockListComRespDto retData = new QueryTargetContCurOrAllAchievementDockListComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setAchievementDockingList(receptionServiceRes_1.getAchievementDockingList().stream().map(item -> BeanUtil.toBean(item, AchievementDockingDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1968390_1
        }


        return retData;
    }
    //
}
